﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace KitTest.Kit
{
    public class ImageKit
    { 
        public static void getPixel(){
            string baseFilePath = @"C:\bitmapBase.gif";//打开图片路径
            Bitmap bmpBase = new Bitmap(baseFilePath);//构造图片对象
            int width = bmpBase.Width;
            int height = bmpBase.Height;
            Color pixel = bmpBase.GetPixel(10,10);
            string name = pixel.Name;
        }
    }
}
